<%var styleBlock={%>
<style>
</style>
<%};%>

<% var mainBlock={%>
		

	<header id="fh5co-header" class="fh5co-cover fh5co-cover-sm" role="banner" style="background-image:url('${ctx}/assets/home/images/img_bg_1.jpg');" data-stellar-background-ratio="0.5">
		<div class="overlay"></div>
		<div class="container">
			<div class="row">
				<div class="col-md-7 text-left">
					<div class="display-t">
						<div class="display-tc animate-box" data-animate-effect="fadeInUp">
							<h1 class="mb30">反馈</h1>
						</div>
					</div>
				</div>
			</div>
		</div>
	</header>

	

	<div id="fh5co-contact">
		<div class="container">
			<div class="row">
				<div class="col-md-5 col-md-push-1 animate-box">
					
					<div class="fh5co-contact-info">
						<h3>Information</h3>
						<ul>
							<li class="address">商丘, <br> 河南省</li>
							<li class="phone"><a href="tel://1234567920">1234567920</a></li>
							<li class="email"><a href="534729859@qq.com">534729859@qq.com</a></li>
						</ul>
					</div>

				</div>
				<div class="col-md-6 animate-box">
					<h3>输入</h3>
					<form action="#">
						<div class="row form-group">
							<div class="col-md-6">
								<label for="fname">姓</label>
								<input type="text" id="fname" class="form-control" placeholder="Your firstname">
							</div>
							<div class="col-md-6">
								<label for="lname">名</label>
								<input type="text" id="lname" class="form-control" placeholder="Your lastname">
							</div>
						</div>

						<div class="row form-group">
							<div class="col-md-12">
								<label for="email">Email</label>
								<input type="text" id="email" class="form-control" placeholder="Your email address">
							</div>
						</div>

						<div class="row form-group">
							<div class="col-md-12">
								<label for="subject">标题</label>
								<input type="text" id="subject" class="form-control" placeholder="Your subject of this message">
							</div>
						</div>

						<div class="row form-group">
							<div class="col-md-12">
								<label for="message">内容</label>
								<textarea name="message" id="message" cols="30" rows="10" class="form-control" placeholder="Say something about this"></textarea>
							</div>
						</div>
						<div class="form-group">
							<input type="submit" value="Send Message" class="btn btn-lg btn-primary">
						</div>
					</form>
				</div>
			</div>
			
		</div>
	</div>

    <%};%>

    <% var scriptBlock={%>
    <script>
        $(function(){
            $("#submit").click(function(){
                var message=$("#fname").val()+","+$("#lname").val()+","+$("#email").val()+","+$("#subject").val()+","+$("#message").val();
                $.ajax({
                    url:'${ctx}/home/bug',
                    data:{txt:message},
                    success:function(data){
                        alert("ok")
                    }
                })

            })
        })
    </script>
    <%};%>

    <%
    var layoutParas = {"mainBlock":mainBlock,"styleBlock":styleBlock,"scriptBlock":scriptBlock};
    includeFileTemplate('/layout/home/template.htm',layoutParas){};
    %>

